package com.zlq.cn.controller.api;


import com.zlq.cn.api.ApiParam;
import com.zlq.cn.service.un.RiddleTypeService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author zhoucl
 * @since 2021-09-03
 */
@RestController
@RequestMapping("/riddleType")
public class RiddleTypeController {

    @Resource
    private RiddleTypeService riddleTypeService;

    @PostMapping("/list")
    public Object page(ApiParam apiParam) {
        return riddleTypeService.list();
    }

}

